<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
    <title></title>
    <meta name="google" value="notranslate" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" href="http://muw.vcdn.vn/media/flash/css-full/style.css" />
    <style type="text/css" media="screen">
        html, body {
            height: 100%;
        }

        body {
            margin: 0;
            padding: 0;
            overflow: auto;
            text-align: center;
            background-color: #000000;
        }

        object:focus {
            outline: none;
        }

        #game_window{
            width: 100%;
            height: 100%;
            position:relative;
        }

        #flashContent {
            display: none;
        }		
		 
.overlay {
    display:none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: visible;
    z-index: 1;
}
.overlay:target {
    display: none;
    visibility: hidden;
    opacity: 0;
}
.popup {
    margin: 70px auto;
    background: #fff;
    border-radius: 5px;
    width: 615px;
    position: relative;
    transition: all 5s ease-in-out;
}
.popup .close {
    position: absolute;
    top: -5px;
    right: 15px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #F26423;
    cursor: pointer;
}
    </style>
    <link href="/static/admin/css/ui/colorbox.css" rel="stylesheet">
    <link href="/static/admin/css/style.css" rel="stylesheet">
    <script type="text/javascript" src="http://muw.vcdn.vn/real/js/gameScript.js"></script>
    <script type="text/javascript" src="http://muw.vcdn.vn/real/swfobject.js"></script>
    <script type="text/javascript" src="/static/admin/js/ui/jquery.min.js"></script>
    <script type="text/javascript" src="/static/admin/js/ui/jquery.colorbox-min.js"></script>
	<script type="text/javascript" src="/static/admin/js/common.js"></script>
    
    <script type="text/javascript">
        // For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection.
        var swfVersionStr = "0.0.0";
        // To use express install, set to playerProductInstall.swf, otherwise the empty string.
        var xiSwfUrlStr = "http://muw.vcdn.vn/real/playerProductInstall.swf";
        var flashvars = {};
        var params = {};
        params.quality = "high";
        params.bgcolor = "#000000";
        params.allowscriptaccess = "always";
        params.base = "http://test1.webgame.zhaouc.com/kafeiniu";
        params.allowfullscreen = "true";
        params.wmode = "direct";
        flashvars.resurl="http://test1.webgame.zhaouc.com/kafeiniu";
        flashvars.host = "61.160.219.179"; //服务器端地址
        flashvars.port = 50100;  //端口
        flashvars.exts = 'eyJ2aXBfbGV2ZWwiOjAsImV4cGlyZV90aW1lIjoiMTk3MC0wMS0wMSJ9';//参数
        flashvars.channel_id = 3; //塔人1 腾讯2 360 3

        //V计划
        flashvars.v_type="";//v类型
        flashvars.v_level="0";//v等级

        flashvars.sign = "a13829aedf393cb90cc085a2f0292944";   //签名
        flashvars.pf = "vn";  //平台 如 qzone qqgame
        flashvars.is_adult = "0"; // 是否未成年
        flashvars.server_id = "9998"; // 服ID
        flashvars.recharge = "https%3A%2F%2Fnew.pay.zing.vn%2Fmini%2Fproduct%2Fmuonlineweb%3FserverID%3D153"; // 充值地址

        flashvars.uid = "muwtarenwang1"; //用户ID
        flashvars.gkey = "mu"; //游戏名
        flashvars.skey = "1"; //区服ID
        flashvars.type = "pc"; //登录类型 ，web端登陆或微端登陆
        var attributes = {};
        attributes.id = "Entry";
        attributes.name = "Entry";
        attributes.align = "middle";
        swfobject.embedSWF(
                "http://muw.vcdn.vn/real/Entry.swf?v=tb9qyE6p", "flashContent",
                "100%", "100%",
                swfVersionStr, xiSwfUrlStr,
                flashvars, params, attributes);
        // JavaScript enabled so display the flashContent div in case it is not replaced with a swf object.
        //swfobject.createCSS("#flashContent", "display:block;text-align:left;");
		
		
	function flashChecker() {
		  var f="-1";
		  var n=navigator;
		  if (n.plugins && n.plugins.length) {
			for (var ii=0;ii<n.plugins.length;ii++) {
			  if (n.plugins[ii].name.indexOf('Shockwave Flash')!=-1) {
				f=n.plugins[ii].description.split('Shockwave Flash ')[1];
				break;
			  }
			}
		  }else if (window.ActiveXObject) {
			for (var ii=10;ii>=2;ii--) {
			  try{
				var fl=eval("new ActiveXObject('ShockwaveFlash.ShockwaveFlash."+ii+"');");
				if (fl) { f=ii + '.0'; break; }
			  }catch(e){}
			}
		  }
		  if(f == "-1")
			return f;
		  else
			return f.substring(0,f.indexOf(".")+2);
	}
	
        function showUrlInOverlay(url, width, height) {
            $("#game_window").css("top","-1200px");
            $.colorbox({
                href: url,
                iframe: true,
                closeButton: true,
                transition: "fade",
                innerWidth: width,
                innerHeight: height,
                onClosed: function () {

                }
            });
        }

        function load_payment(){
            var url  = 'https://new.pay.zing.vn/mini/product/muonlineweb?serverID=153';
			showPopup(url);
            //showUrlInOverlay(url, "615", "500");
        }
		
		function showPopup(url) {
			document.getElementById("ifrZingPay").src = url;
			document.getElementById("popupZingPay").style.display = 'block';
		}
		function hidePopup() {
			document.getElementById("popupZingPay").style.display = 'none';
		}
		
		$(function(){
			var status = flashChecker();
			if(status != "-1"){
				$("#game_window").remove();		
			}
		})
    </script>
</head>
<body>
<!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough
    JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
    when JavaScript is disabled.
    -->
<div id="popupZingPay" class="overlay" style="display: none;">
  <div class="popup">
    <a class="close" onclick="hidePopup(); return false;">×</a>
    <div>
      <iframe style="width:615px;height:500px" id="ifrZingPay" src="https://new.pay.zing.vn/mini/product/muonlineweb?serverID=153" frameborder="0" scrolling="yes"></iframe>
    </div>
  </div>
</div>
<div id="game_window">
    <div id="wrapper">
        <article class="wrap">
        <a class="btn-kichhoat" href="http://www.adobe.com/go/getflashplayer">Kích Hoạt Flash</a>
        <div class="arrow-block"></div>
        </article>
    </div>
</div>
<div id="flashContent">
	<p>
		To view this page ensure that Adobe Flash Player version
        11.4.0 or greater is installed.
	</p>      
<script type="text/javascript">
	var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
	document.write("<a href='https://get.adobe.com/fr/flashplayer/'><img src='"
	 + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>");
</script>
</div>
</body>

</html>